package com.ecloud.arithmetic.dto;

import com.ecloud.common.standard.PageToLimit;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * @author Squbi
 */
@Data
public class EnergyTopSelectDto implements PageToLimit {
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    @Min(1)
    private int pageIndex;
    @Min(1)
    private int pageSize;
}
